#ifndef UDKTEST_API_H
#define UDKTEST_API_H

#include <cppunit/extensions/HelperMacros.h>

class UDKPullApiTest : public CPPUNIT_NS::TestFixture
{
  CPPUNIT_TEST_SUITE( UDKPullApiTest );
  CPPUNIT_TEST( testConnect);
  CPPUNIT_TEST( testConnectTCP);
  CPPUNIT_TEST( testPullSDKGetDeviceDataTCP);
  CPPUNIT_TEST( testPullSDKSetDeviceDataTCP);
  CPPUNIT_TEST( testPullSDKDeleteDeviceDataTCP);
  CPPUNIT_TEST( testPullSDKGetDeviceDataCountTCP);
  CPPUNIT_TEST( testPullSDKGetDeviceParamTCP);
  CPPUNIT_TEST( testPullSDKSetDeviceParamTCP);
  CPPUNIT_TEST( testPullSDKGetDeviceFileDataTCP);
  CPPUNIT_TEST( testPullSDKSetDeviceFileDataTCP);
  CPPUNIT_TEST( testPullSDKGetRTLogTCP);
  CPPUNIT_TEST( testPullSDKSearchDevice);
  CPPUNIT_TEST( testPullSDKModifyIPAddress);
  //udp based
  CPPUNIT_TEST( testConnectUDP);
  CPPUNIT_TEST( testConnectP4P);
  CPPUNIT_TEST_SUITE_END();

public:
  //basic connect
  void testConnect();
  void testConnectTCP();
  void testPullSDKGetDeviceDataTCP();
  void testPullSDKSetDeviceDataTCP();
  void testPullSDKDeleteDeviceDataTCP();
  void testPullSDKGetDeviceDataCountTCP();
  void testPullSDKGetDeviceParamTCP();
  void testPullSDKSetDeviceParamTCP();
  void testPullSDKGetDeviceFileDataTCP();
  void testPullSDKSetDeviceFileDataTCP();
  void testPullSDKGetRTLogTCP();
  void testPullSDKSearchDevice();
  void testPullSDKModifyIPAddress();

  void testConnectUDP();
  void testConnectP4P();
};

#endif
